home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 2
/
CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso
/
magazine
/
amiga_e
/
epp
/
pmodules
/
skiptoedelim.e
< prev
next >
Wrap
Text File
|
1980-01-05
|
512b
|
25 lines
OPT TURBO
PROC skipToEDelim(theString:PTR TO CHAR, pos)
DEF length, c
/* Finds the next E delimiter in theString and returns its position. */
length:=StrLen(theString)
WHILE pos<length
c:=theString[pos]
IF ((c>64) AND (c<90)) /* A-Z */
NOP
ELSEIF ((c>96) AND (c<123)) /* a-z */
NOP
ELSEIF ((c>47) AND (c<58)) /* 0-9 */
NOP
ELSEIF c=95 /* underscore */
NOP
ELSE
RETURN pos
ENDIF
INC pos
ENDWHILE
ENDPROC pos
/* skipToEDelim */